package com.caishi.lkx.user.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BaseEntity;
import com.caishi.lkx.exam.records.RecordsCollectType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;


@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_material_like")
@Schema(title = "点赞收藏")
public class MaterialLikeModel extends BaseEntity<MaterialLikeModel> {

    @Schema(title = "关联id")
    private String relationId;

    @Schema(title = "类型：0.资讯点赞 1.试卷收藏")
    private Integer type;

    @Schema(title = "科目id")
    private Long categoryId;

    @Schema(title = "试卷类型")
    private RecordsCollectType recordsType;

    @Schema(title = "收藏类型 0被动收藏 1主动收藏")
    private Integer passive;
}
